package com.xxx.springboot.mapper;

import com.xxx.springboot.pojo.entity.User;

import org.springframework.data.repository.query.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gwq
 * @since 2020-04-26
 */
public interface UserMapper extends BaseMapper<User> {

	User getByName(@Param("username") String username);

	User getById(@Param("userId") String userId);

}
